package com.jerkin.controller;

import com.jerkin.helper.SpringContext;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.context.ContextLoader;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;

/**
 * @version V1.0
 * @ClassName: TestHello
 * @Description:
 * @author: huhongzhi
 * @date: 2020/10/17 20:25
 */
@Controller
public class TestHello {

    @RequestMapping("/hello")
    public void testHello() {
        RequestMappingHandlerMapping mappingHandlerMapping = SpringContext.getBean(RequestMappingHandlerMapping.class);
        System.out.println("请求test接口");
        return;
    }
}
